import{createRouter,createWebHashHistory} from "vue-router"

import FirstVue from '@/components/FirstVue.vue'
import SecondVue from '@/components/SecondVue.vue'
import KeChengliebiao from '@/components/KeChengliebiao.vue'

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            component:FirstVue
        },
        
        {
            path:"/qtly",
            component:FirstVue,
            children:[
                {
                path:'qt/:id',
                    component:SecondVue
                }

            ]
        },
        {
            path:"/KeChengliebiao",
            component:KeChengliebiao
        }
    ]
})
export default router
